/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */

package com.suarte.core.service;

import com.suarte.core.Company;
import com.suarte.core.Contact;
import com.suarte.core.Quotation;
import com.suarte.core.QuotationDetail;
import com.suarte.core.QuotationStatus;
import java.util.Date;
import org.appfuse.service.GenericManager;

import java.util.List;
/**
 * @date   Dec 20, 2010
 * @author Ggutierrez
 */
public interface QuotationManager extends GenericManager<Quotation, Long> {
    List<Quotation> findByDescription(String description);
    void store(Quotation object);
    Quotation get(Long id);
    void deleteDetails(List<QuotationDetail> args);
    void approve(Quotation object);
    List<Quotation> findQuotations(Long id, String description, Date date, Company company, Contact contact, QuotationStatus status);
}
